package com.sk.sourcecircle.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * Created by sk on 2018/1/1.
 */

public class MoreSourceListBean {


    /**
     * code : 200
     * data : [{"activity_id":1,"name":"年度盛典","cate_id":11,"community_id":2,"lng_lat":"116.39718599617481,39.90833718492366","start_time":"2017-09-04 17:45","end_time":"2017-09-04 17:45","ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg","content":"<p>发生的典范大速度发大水发沙发大师傅<img src=\"/yuanquan/upload/image/20171101/1509514176.jpg\" title=\"1509514176.jpg\" alt=\"u=1671483460,1872560812&amp;fm=173&amp;s=1EB6C704CAB6F6DCD7AA9005030020E9&amp;w=440&amp;h=368&amp;img.jpg\"/>发送到的点点滴滴多多多多多多所发<\/p>","province_id":2,"city_id":37,"district_id":403,"address":"地址","min_price":"0","orders":0,"type":0,"apply_end_time":1510143420,"create_time":"2017-09-04 17:32:35","update_time":"2017-09-04 17:34:15","distance":1943,"province":"北京","city":"北京市","district":"东城区","numAll":2,"community_name":"测试社群2","is_free":0},{"activity_id":3,"name":"活动3","cate_id":0,"community_id":1,"lng_lat":"116.39718599617481,39.90833718492366","start_time":"2017-09-04 17:45","end_time":"2017-09-04 17:45","ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg","content":"<p>发生的典范大速度发大水发沙发大师傅<img src=\"/yuanquan/upload/image/20171101/1509514176.jpg\" title=\"1509514176.jpg\" alt=\"u=1671483460,1872560812&amp;fm=173&amp;s=1EB6C704CAB6F6DCD7AA9005030020E9&amp;w=440&amp;h=368&amp;img.jpg\"/>发送到的点点滴滴多多多多多多所发<\/p>","province_id":2,"city_id":37,"district_id":403,"address":null,"min_price":"0","orders":0,"type":0,"apply_end_time":1510143420,"create_time":"2017-09-04 17:32:35","update_time":"2017-09-04 17:37:35","distance":1943,"province":"北京","city":"北京市","district":"东城区","numAll":0,"community_name":"测试社群1","is_free":0},{"activity_id":6,"name":"活动6","cate_id":11,"community_id":1,"lng_lat":"116.39718599617481,39.90833718492366","start_time":"2017-09-04 17:32","end_time":"2017-09-04 17:32","ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg","content":"<p>发生的典范大速度发大水发沙发大师傅<img src=\"/yuanquan/upload/image/20171101/1509514176.jpg\" title=\"1509514176.jpg\" alt=\"u=1671483460,1872560812&amp;fm=173&amp;s=1EB6C704CAB6F6DCD7AA9005030020E9&amp;w=440&amp;h=368&amp;img.jpg\"/>发送到的点点滴滴多多多多多多所发<\/p>","province_id":2,"city_id":37,"district_id":403,"address":"天安门观礼台","min_price":"200","orders":0,"type":0,"apply_end_time":1510143420,"create_time":"2017-11-01 14:26:16","update_time":"2017-11-01 14:26:16","distance":1943,"province":"北京","city":"北京市","district":"东城区","numAll":0,"community_name":"测试社群1","is_free":1},{"activity_id":10,"name":"活动0","cate_id":11,"community_id":1,"lng_lat":"116.39780826866627,39.90516864340625","start_time":"2017-11-01 20:17","end_time":"2017-11-01 20:17","ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg","content":"<p>发生的典范大速度发大水发沙发大师傅<img src=\"/yuanquan/upload/image/20171101/1509514176.jpg\" title=\"1509514176.jpg\" alt=\"u=1671483460,1872560812&amp;fm=173&amp;s=1EB6C704CAB6F6DCD7AA9005030020E9&amp;w=440&amp;h=368&amp;img.jpg\"/>发送到的点点滴滴多多多多多多所发<\/p>","province_id":2,"city_id":37,"district_id":403,"address":"天安门观礼台国旗1","min_price":"250","orders":0,"type":0,"apply_end_time":1510143420,"create_time":"2017-11-01 15:27:01","update_time":"2017-11-01 15:27:01","distance":1943,"province":"北京","city":"北京市","district":"东城区","numAll":3,"community_name":"测试社群1","is_free":1},{"activity_id":11,"name":"dsafas","cate_id":12,"community_id":1,"lng_lat":"116.39780826866627,39.90516864340625","start_time":"2017-11-01 20:17","end_time":"2017-11-01 20:17","ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg","content":"<p>asfdasdfasdfasdf<\/p>","province_id":2,"city_id":37,"district_id":403,"address":"fdasfasfadsf","min_price":"0","orders":0,"type":0,"apply_end_time":1510143420,"create_time":"2017-11-07 10:23:11","update_time":"2017-11-07 10:23:11","distance":1943,"province":"北京","city":"北京市","district":"东城区","numAll":0,"community_name":"测试社群1","is_free":0},{"activity_id":14,"name":"暗室逢灯发的啥","cate_id":11,"community_id":1,"lng_lat":"116.39751825481653,39.90871986898037","start_time":"2017-11-17 20:17","end_time":"2017-11-17 20:17","ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg","content":"","province_id":2,"city_id":37,"district_id":403,"address":"啥地方地方撒俺的沙发","min_price":"0","orders":0,"type":0,"apply_end_time":1510921020,"create_time":"2017-11-17 16:52:54","update_time":"2017-11-17 16:52:54","distance":1943,"province":"北京","city":"北京市","district":"东城区","numAll":0,"community_name":"测试社群1","is_free":0},{"activity_id":15,"name":"测试活动","cate_id":2,"community_id":1,"lng_lat":"","start_time":"2017-12-12 20:17","end_time":"2017-12-12 20:17","ac_status":0,"status":1,"head_url":"https://appdev.qigle.com/upload/20171121/151124866333657.jpg","content":"","province_id":2,"city_id":37,"district_id":403,"address":"","min_price":"0","orders":0,"type":0,"apply_end_time":1513081020,"create_time":"2017-11-17 17:57:52","update_time":"2017-11-17 17:57:52","distance":12238,"province":"北京","city":"北京市","district":"东城区","numAll":0,"community_name":"测试社群1","is_free":0}]
     */

    private int code;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements MultiItemEntity {
        /**
         * activity_id : 1
         * name : 年度盛典
         * cate_id : 11
         * community_id : 2
         * lng_lat : 116.39718599617481,39.90833718492366
         * start_time : 2017-09-04 17:45
         * end_time : 2017-09-04 17:45
         * ac_status : 0
         * status : 1
         * head_url : https://appdev.qigle.com/yuanquan/upload/20171121/151124876380599.jpg
         * content : <p>发生的典范大速度发大水发沙发大师傅<img src="/yuanquan/upload/image/20171101/1509514176.jpg" title="1509514176.jpg" alt="u=1671483460,1872560812&amp;fm=173&amp;s=1EB6C704CAB6F6DCD7AA9005030020E9&amp;w=440&amp;h=368&amp;img.jpg"/>发送到的点点滴滴多多多多多多所发</p>
         * province_id : 2
         * city_id : 37
         * district_id : 403
         * address : 地址
         * min_price : 0
         * orders : 0
         * type : 0
         * apply_end_time : 1510143420
         * create_time : 2017-09-04 17:32:35
         * update_time : 2017-09-04 17:34:15
         * distance : 1943
         * province : 北京
         * city : 北京市
         * district : 东城区
         * numAll : 2
         * community_name : 测试社群2
         * is_free : 0
         */

        private int activity_id;
        private String name;
        private int cate_id;
        private int community_id;
        private String lng_lat;
        private String start_time;
        private String end_time;
        private int ac_status;
        private int status;
        private String head_url;
        private String content;
        private int province_id;
        private int city_id;
        private int district_id;
        private String address;
        private String min_price;
        private int orders;
        private int type;
        private int apply_end_time;
        private String create_time;
        private String update_time;
        private int distance;
        private String province;
        private String city;
        private String district;
        private int numAll;
        private String community_name;
        private int is_free;


        @Override
        public int getItemType() {
            if (type == 0) {
                return 0;
            }else {
                return 1;
            }
        }

        public int getActivity_id() {
            return activity_id;
        }

        public void setActivity_id(int activity_id) {
            this.activity_id = activity_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getCate_id() {
            return cate_id;
        }

        public void setCate_id(int cate_id) {
            this.cate_id = cate_id;
        }

        public int getCommunity_id() {
            return community_id;
        }

        public void setCommunity_id(int community_id) {
            this.community_id = community_id;
        }

        public String getLng_lat() {
            return lng_lat;
        }

        public void setLng_lat(String lng_lat) {
            this.lng_lat = lng_lat;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public int getAc_status() {
            return ac_status;
        }

        public void setAc_status(int ac_status) {
            this.ac_status = ac_status;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getHead_url() {
            return head_url;
        }

        public void setHead_url(String head_url) {
            this.head_url = head_url;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getProvince_id() {
            return province_id;
        }

        public void setProvince_id(int province_id) {
            this.province_id = province_id;
        }

        public int getCity_id() {
            return city_id;
        }

        public void setCity_id(int city_id) {
            this.city_id = city_id;
        }

        public int getDistrict_id() {
            return district_id;
        }

        public void setDistrict_id(int district_id) {
            this.district_id = district_id;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getMin_price() {
            return min_price;
        }

        public void setMin_price(String min_price) {
            this.min_price = min_price;
        }

        public int getOrders() {
            return orders;
        }

        public void setOrders(int orders) {
            this.orders = orders;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getApply_end_time() {
            return apply_end_time;
        }

        public void setApply_end_time(int apply_end_time) {
            this.apply_end_time = apply_end_time;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public int getDistance() {
            return distance;
        }

        public void setDistance(int distance) {
            this.distance = distance;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getDistrict() {
            return district;
        }

        public void setDistrict(String district) {
            this.district = district;
        }

        public int getNumAll() {
            return numAll;
        }

        public void setNumAll(int numAll) {
            this.numAll = numAll;
        }

        public String getCommunity_name() {
            return community_name;
        }

        public void setCommunity_name(String community_name) {
            this.community_name = community_name;
        }

        public int getIs_free() {
            return is_free;
        }

        public void setIs_free(int is_free) {
            this.is_free = is_free;
        }
    }
}
